package com.wuqi.dev.ipcdemo;

import java.io.Serializable;

/**
 * Created by Risky57 on 2017/5/9.
 */

public class Person implements Serializable{

    private String name;
    private int age;

    public String getName () {
        return name;
    }

    @Override
    public String toString () {
        return "Person{" +
                "name='" + name + '\'' +
                ", age=" + age +
                '}';
    }

    public Person setName (String name) {
        this.name = name;
        return this;
    }

    public int getAge () {
        return age;
    }

    public Person setAge (int age) {
        this.age = age;
        return this;
    }
}
